package com.etone.smartAudit.dto.task;

import com.etone.smartAudit.dto.FileDTO;
import com.etone.smartAudit.enums.CheckState;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author: 蒋学伟
 * @create: 2020-07-01 11:12:06
 * @Description 任务审核
 */
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
@Data
@ApiModel(value = "TaskAuditDTO", description = "任务审核")
public class TaskAuditDTO implements Serializable {

    @ApiModelProperty("下一步状态")
    private CheckState state;

    @ApiModelProperty("下一步节点人id")
    private Integer nodeAdminId;

    @ApiModelProperty("下一步节点人名称")
    private String nodeAdminName;

    @ApiModelProperty("执行人")
    private List<TaskExecDTO> taskExecs;

    @ApiModelProperty("实际工时（天）")
    private Double workTime;

    @ApiModelProperty("附件")
    private FileDTO file;

    @ApiModelProperty("期望完成时间")
    private Date expectOverTime;

    @ApiModelProperty("评分")
    private Double score;

    @ApiModelProperty("原因/备注")
    private String remark;

    @ApiModelProperty("扩展信息")
    private String extendInfo;
}
